Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add reference to attestation summary metric explainer #6092

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Nov 7, 2023

Motivation

The attestation summary metric labels are quite hard to understand but we have a great article that explains what each label means, just need more visibility on it so people using the dashboard are more likely to find it.

Description

Add reference to attestation summary metric explainer to dashboard panel description

@nflaig nflaig requested a review from a team as a code owner November 7, 2023 16:12
@@ -1,12 +1,12 @@
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated diff but might as well clean this up here

Copy link
Contributor

github-actions bot commented Nov 7, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 0a998f5 Previous: d3f40d2 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 693.76 us/op 888.11 us/op 0.78
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 115.64 us/op 84.837 us/op 1.36
BLS verify - blst-native 1.3424 ms/op 1.3413 ms/op 1.00
BLS verifyMultipleSignatures 3 - blst-native 2.7774 ms/op 2.8239 ms/op 0.98
BLS verifyMultipleSignatures 8 - blst-native 6.1493 ms/op 6.2079 ms/op 0.99
BLS verifyMultipleSignatures 32 - blst-native 22.370 ms/op 22.236 ms/op 1.01
BLS verifyMultipleSignatures 64 - blst-native 43.287 ms/op 43.796 ms/op 0.99
BLS verifyMultipleSignatures 128 - blst-native 88.892 ms/op 86.654 ms/op 1.03
BLS deserializing 10000 signatures 917.17 ms/op 914.53 ms/op 1.00
BLS deserializing 100000 signatures 9.2922 s/op 9.2262 s/op 1.01
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3474 ms/op 1.3390 ms/op 1.01
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5164 ms/op 1.5834 ms/op 0.96
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.3686 ms/op 2.6769 ms/op 0.88
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.2281 ms/op 3.4768 ms/op 1.22
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.7814 ms/op 5.6357 ms/op 1.03
BLS aggregatePubkeys 32 - blst-native 26.692 us/op 26.011 us/op 1.03
BLS aggregatePubkeys 128 - blst-native 103.77 us/op 101.19 us/op 1.03
getAttestationsForBlock 46.992 ms/op 41.427 ms/op 1.13
isKnown best case - 1 super set check 495.00 ns/op 306.00 ns/op 1.62
isKnown normal case - 2 super set checks 487.00 ns/op 300.00 ns/op 1.62
isKnown worse case - 16 super set checks 481.00 ns/op 299.00 ns/op 1.61
CheckpointStateCache - add get delete 6.1570 us/op 5.3830 us/op 1.14
validate api signedAggregateAndProof - struct 2.7825 ms/op 2.8629 ms/op 0.97
validate gossip signedAggregateAndProof - struct 2.8648 ms/op 2.8252 ms/op 1.01
validate gossip attestation - vc 640000 1.3535 ms/op 1.3917 ms/op 0.97
batch validate gossip attestation - vc 640000 - chunk 32 170.97 us/op 166.03 us/op 1.03
batch validate gossip attestation - vc 640000 - chunk 64 152.06 us/op 142.28 us/op 1.07
batch validate gossip attestation - vc 640000 - chunk 128 146.59 us/op 132.10 us/op 1.11
batch validate gossip attestation - vc 640000 - chunk 256 145.15 us/op 133.22 us/op 1.09
pickEth1Vote - no votes 1.3133 ms/op 1.3213 ms/op 0.99
pickEth1Vote - max votes 11.236 ms/op 9.2465 ms/op 1.22
pickEth1Vote - Eth1Data hashTreeRoot value x2048 18.475 ms/op 19.025 ms/op 0.97
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 30.232 ms/op 34.116 ms/op 0.89
pickEth1Vote - Eth1Data fastSerialize value x2048 680.81 us/op 685.59 us/op 0.99
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.1948 ms/op 8.6556 ms/op 0.83
bytes32 toHexString 536.00 ns/op 569.00 ns/op 0.94
bytes32 Buffer.toString(hex) 316.00 ns/op 312.00 ns/op 1.01
bytes32 Buffer.toString(hex) from Uint8Array 512.00 ns/op 479.00 ns/op 1.07
bytes32 Buffer.toString(hex) + 0x 314.00 ns/op 306.00 ns/op 1.03
Object access 1 prop 0.20400 ns/op 0.17800 ns/op 1.15
Map access 1 prop 0.16100 ns/op 0.15300 ns/op 1.05
Object get x1000 8.3960 ns/op 8.0460 ns/op 1.04
Map get x1000 0.62100 ns/op 0.63200 ns/op 0.98
Object set x1000 58.376 ns/op 54.977 ns/op 1.06
Map set x1000 45.050 ns/op 42.354 ns/op 1.06
Return object 10000 times 0.25060 ns/op 0.25450 ns/op 0.98
Throw Error 10000 times 3.9480 us/op 4.0492 us/op 0.98
fastMsgIdFn sha256 / 200 bytes 3.4030 us/op 3.4600 us/op 0.98
fastMsgIdFn h32 xxhash / 200 bytes 331.00 ns/op 301.00 ns/op 1.10
fastMsgIdFn h64 xxhash / 200 bytes 382.00 ns/op 354.00 ns/op 1.08
fastMsgIdFn sha256 / 1000 bytes 11.647 us/op 12.129 us/op 0.96
fastMsgIdFn h32 xxhash / 1000 bytes 473.00 ns/op 462.00 ns/op 1.02
fastMsgIdFn h64 xxhash / 1000 bytes 459.00 ns/op 440.00 ns/op 1.04
fastMsgIdFn sha256 / 10000 bytes 105.83 us/op 108.15 us/op 0.98
fastMsgIdFn h32 xxhash / 10000 bytes 2.0090 us/op 2.0600 us/op 0.98
fastMsgIdFn h64 xxhash / 10000 bytes 1.3770 us/op 1.4120 us/op 0.98
send data - 1000 256B messages 21.933 ms/op 21.946 ms/op 1.00
send data - 1000 512B messages 28.569 ms/op 29.604 ms/op 0.97
send data - 1000 1024B messages 43.456 ms/op 43.501 ms/op 1.00
send data - 1000 1200B messages 35.914 ms/op 34.678 ms/op 1.04
send data - 1000 2048B messages 27.764 ms/op 44.499 ms/op 0.62
send data - 1000 4096B messages 34.961 ms/op 28.028 ms/op 1.25
send data - 1000 16384B messages 105.34 ms/op 104.54 ms/op 1.01
send data - 1000 65536B messages 433.92 ms/op 437.17 ms/op 0.99
enrSubnets - fastDeserialize 64 bits 1.3220 us/op 1.2980 us/op 1.02
enrSubnets - ssz BitVector 64 bits 452.00 ns/op 444.00 ns/op 1.02
enrSubnets - fastDeserialize 4 bits 200.00 ns/op 174.00 ns/op 1.15
enrSubnets - ssz BitVector 4 bits 454.00 ns/op 428.00 ns/op 1.06
prioritizePeers score -10:0 att 32-0.1 sync 2-0 112.62 us/op 113.55 us/op 0.99
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 137.59 us/op 143.95 us/op 0.96
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 192.06 us/op 181.27 us/op 1.06
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 386.94 us/op 350.58 us/op 1.10
prioritizePeers score 0:0 att 64-1 sync 4-1 350.30 us/op 394.53 us/op 0.89
array of 16000 items push then shift 1.7422 us/op 1.7079 us/op 1.02
LinkedList of 16000 items push then shift 9.6750 ns/op 9.7420 ns/op 0.99
array of 16000 items push then pop 142.78 ns/op 104.90 ns/op 1.36
LinkedList of 16000 items push then pop 11.145 ns/op 9.3660 ns/op 1.19
array of 24000 items push then shift 2.8139 us/op 2.6884 us/op 1.05
LinkedList of 24000 items push then shift 11.231 ns/op 9.8340 ns/op 1.14
array of 24000 items push then pop 167.06 ns/op 156.99 ns/op 1.06
LinkedList of 24000 items push then pop 10.243 ns/op 10.085 ns/op 1.02
intersect bitArray bitLen 8 7.3010 ns/op 7.6410 ns/op 0.96
intersect array and set length 8 95.185 ns/op 86.982 ns/op 1.09
intersect bitArray bitLen 128 34.002 ns/op 33.916 ns/op 1.00
intersect array and set length 128 1.0761 us/op 899.84 ns/op 1.20
bitArray.getTrueBitIndexes() bitLen 128 2.4080 us/op 1.7650 us/op 1.36
bitArray.getTrueBitIndexes() bitLen 248 3.8870 us/op 2.8670 us/op 1.36
bitArray.getTrueBitIndexes() bitLen 512 7.7590 us/op 6.5840 us/op 1.18
Buffer.concat 32 items 1.2190 us/op 1.1170 us/op 1.09
Uint8Array.set 32 items 2.9910 us/op 1.9340 us/op 1.55
Set add up to 64 items then delete first 5.7538 us/op 4.9385 us/op 1.17
OrderedSet add up to 64 items then delete first 7.5395 us/op 6.9598 us/op 1.08
Set add up to 64 items then delete last 5.7112 us/op 5.3711 us/op 1.06
OrderedSet add up to 64 items then delete last 7.9632 us/op 6.9731 us/op 1.14
Set add up to 64 items then delete middle 5.8189 us/op 5.4592 us/op 1.07
OrderedSet add up to 64 items then delete middle 10.293 us/op 8.3203 us/op 1.24
Set add up to 128 items then delete first 13.358 us/op 11.094 us/op 1.20
OrderedSet add up to 128 items then delete first 16.338 us/op 13.448 us/op 1.21
Set add up to 128 items then delete last 11.691 us/op 10.408 us/op 1.12
OrderedSet add up to 128 items then delete last 15.815 us/op 13.416 us/op 1.18
Set add up to 128 items then delete middle 11.351 us/op 10.725 us/op 1.06
OrderedSet add up to 128 items then delete middle 21.756 us/op 20.172 us/op 1.08
Set add up to 256 items then delete first 22.865 us/op 21.342 us/op 1.07
OrderedSet add up to 256 items then delete first 32.024 us/op 27.010 us/op 1.19
Set add up to 256 items then delete last 22.373 us/op 20.433 us/op 1.09
OrderedSet add up to 256 items then delete last 32.411 us/op 27.570 us/op 1.18
Set add up to 256 items then delete middle 22.595 us/op 21.577 us/op 1.05
OrderedSet add up to 256 items then delete middle 54.979 us/op 53.045 us/op 1.04
transfer serialized Status (84 B) 2.2770 us/op 1.9630 us/op 1.16
copy serialized Status (84 B) 1.7950 us/op 1.7470 us/op 1.03
transfer serialized SignedVoluntaryExit (112 B) 2.0220 us/op 2.0830 us/op 0.97
copy serialized SignedVoluntaryExit (112 B) 1.7200 us/op 1.8020 us/op 0.95
transfer serialized ProposerSlashing (416 B) 2.5480 us/op 2.4990 us/op 1.02
copy serialized ProposerSlashing (416 B) 2.4730 us/op 2.7060 us/op 0.91
transfer serialized Attestation (485 B) 2.6180 us/op 2.3590 us/op 1.11
copy serialized Attestation (485 B) 2.5310 us/op 2.4850 us/op 1.02
transfer serialized AttesterSlashing (33232 B) 2.5840 us/op 2.4300 us/op 1.06
copy serialized AttesterSlashing (33232 B) 10.561 us/op 8.9020 us/op 1.19
transfer serialized Small SignedBeaconBlock (128000 B) 3.2640 us/op 2.9260 us/op 1.12
copy serialized Small SignedBeaconBlock (128000 B) 31.946 us/op 21.546 us/op 1.48
transfer serialized Avg SignedBeaconBlock (200000 B) 4.1250 us/op 4.1050 us/op 1.00
copy serialized Avg SignedBeaconBlock (200000 B) 44.697 us/op 27.564 us/op 1.62
transfer serialized BlobsSidecar (524380 B) 5.1730 us/op 3.9960 us/op 1.29
copy serialized BlobsSidecar (524380 B) 146.09 us/op 105.74 us/op 1.38
transfer serialized Big SignedBeaconBlock (1000000 B) 6.5920 us/op 3.9370 us/op 1.67
copy serialized Big SignedBeaconBlock (1000000 B) 289.23 us/op 208.95 us/op 1.38
pass gossip attestations to forkchoice per slot 4.8077 ms/op 4.5569 ms/op 1.06
forkChoice updateHead vc 100000 bc 64 eq 0 722.98 us/op 726.46 us/op 1.00
forkChoice updateHead vc 600000 bc 64 eq 0 7.7852 ms/op 5.6835 ms/op 1.37
forkChoice updateHead vc 1000000 bc 64 eq 0 8.9543 ms/op 7.6388 ms/op 1.17
forkChoice updateHead vc 600000 bc 320 eq 0 4.7741 ms/op 4.3885 ms/op 1.09
forkChoice updateHead vc 600000 bc 1200 eq 0 5.9697 ms/op 4.5517 ms/op 1.31
forkChoice updateHead vc 600000 bc 7200 eq 0 7.6443 ms/op 5.4937 ms/op 1.39
forkChoice updateHead vc 600000 bc 64 eq 1000 12.661 ms/op 11.988 ms/op 1.06
forkChoice updateHead vc 600000 bc 64 eq 10000 13.253 ms/op 12.766 ms/op 1.04
forkChoice updateHead vc 600000 bc 64 eq 300000 19.385 ms/op 18.523 ms/op 1.05
computeDeltas 500000 validators 300 proto nodes 7.2353 ms/op 7.0595 ms/op 1.02
computeDeltas 500000 validators 1200 proto nodes 7.0648 ms/op 6.7841 ms/op 1.04
computeDeltas 500000 validators 7200 proto nodes 7.3016 ms/op 6.8859 ms/op 1.06
computeDeltas 750000 validators 300 proto nodes 11.548 ms/op 10.063 ms/op 1.15
computeDeltas 750000 validators 1200 proto nodes 11.635 ms/op 9.9386 ms/op 1.17
computeDeltas 750000 validators 7200 proto nodes 11.557 ms/op 9.9707 ms/op 1.16
computeDeltas 1400000 validators 300 proto nodes 22.120 ms/op 18.386 ms/op 1.20
computeDeltas 1400000 validators 1200 proto nodes 20.464 ms/op 18.455 ms/op 1.11
computeDeltas 1400000 validators 7200 proto nodes 22.696 ms/op 18.407 ms/op 1.23
computeDeltas 2100000 validators 300 proto nodes 35.602 ms/op 28.204 ms/op 1.26
computeDeltas 2100000 validators 1200 proto nodes 35.322 ms/op 28.930 ms/op 1.22
computeDeltas 2100000 validators 7200 proto nodes 35.719 ms/op 28.102 ms/op 1.27
computeProposerBoostScoreFromBalances 500000 validators 3.8675 ms/op 3.3113 ms/op 1.17
computeProposerBoostScoreFromBalances 750000 validators 3.4987 ms/op 3.2806 ms/op 1.07
computeProposerBoostScoreFromBalances 1400000 validators 3.4901 ms/op 3.1573 ms/op 1.11
computeProposerBoostScoreFromBalances 2100000 validators 3.4225 ms/op 3.1522 ms/op 1.09
altair processAttestation - 250000 vs - 7PWei normalcase 3.5882 ms/op 2.3229 ms/op 1.54
altair processAttestation - 250000 vs - 7PWei worstcase 5.2820 ms/op 3.2123 ms/op 1.64
altair processAttestation - setStatus - 1/6 committees join 199.32 us/op 179.16 us/op 1.11
altair processAttestation - setStatus - 1/3 committees join 379.43 us/op 339.82 us/op 1.12
altair processAttestation - setStatus - 1/2 committees join 564.25 us/op 471.04 us/op 1.20
altair processAttestation - setStatus - 2/3 committees join 674.69 us/op 601.67 us/op 1.12
altair processAttestation - setStatus - 4/5 committees join 842.02 us/op 820.71 us/op 1.03
altair processAttestation - setStatus - 100% committees join 1.0068 ms/op 932.07 us/op 1.08
altair processBlock - 250000 vs - 7PWei normalcase 12.687 ms/op 10.958 ms/op 1.16
altair processBlock - 250000 vs - 7PWei normalcase hashState 43.145 ms/op 36.657 ms/op 1.18
altair processBlock - 250000 vs - 7PWei worstcase 44.583 ms/op 38.883 ms/op 1.15
altair processBlock - 250000 vs - 7PWei worstcase hashState 114.60 ms/op 99.961 ms/op 1.15
phase0 processBlock - 250000 vs - 7PWei normalcase 4.1251 ms/op 3.6589 ms/op 1.13
phase0 processBlock - 250000 vs - 7PWei worstcase 36.747 ms/op 33.045 ms/op 1.11
altair processEth1Data - 250000 vs - 7PWei normalcase 895.59 us/op 639.75 us/op 1.40
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 21.593 us/op 18.541 us/op 1.16
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 87.120 us/op 105.37 us/op 0.83
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 53.977 us/op 28.853 us/op 1.87
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 24.612 us/op 20.805 us/op 1.18
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 209.67 us/op 270.36 us/op 0.78
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.6744 ms/op 2.1662 ms/op 0.77
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.6439 ms/op 2.8398 ms/op 0.93
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.6326 ms/op 2.3337 ms/op 1.13
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 6.2946 ms/op 4.0779 ms/op 1.54
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.8322 ms/op 2.2554 ms/op 1.70
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 9.1131 ms/op 5.2375 ms/op 1.74
Tree 40 250000 create 777.13 ms/op 367.45 ms/op 2.11
Tree 40 250000 get(125000) 236.60 ns/op 193.20 ns/op 1.22
Tree 40 250000 set(125000) 2.7562 us/op 946.68 ns/op 2.91
Tree 40 250000 toArray() 32.084 ms/op 17.531 ms/op 1.83
Tree 40 250000 iterate all - toArray() + loop 32.453 ms/op 17.715 ms/op 1.83
Tree 40 250000 iterate all - get(i) 102.43 ms/op 65.169 ms/op 1.57
MutableVector 250000 create 22.448 ms/op 19.264 ms/op 1.17
MutableVector 250000 get(125000) 9.3750 ns/op 6.4170 ns/op 1.46
MutableVector 250000 set(125000) 795.76 ns/op 250.94 ns/op 3.17
MutableVector 250000 toArray() 5.4621 ms/op 2.6152 ms/op 2.09
MutableVector 250000 iterate all - toArray() + loop 6.3724 ms/op 3.1334 ms/op 2.03
MutableVector 250000 iterate all - get(i) 2.1280 ms/op 1.5240 ms/op 1.40
Array 250000 create 6.2604 ms/op 2.7189 ms/op 2.30
Array 250000 clone - spread 6.8271 ms/op 1.1953 ms/op 5.71
Array 250000 get(125000) 2.5420 ns/op 0.57900 ns/op 4.39
Array 250000 set(125000) 2.7250 ns/op 0.65300 ns/op 4.17
Array 250000 iterate all - loop 132.58 us/op 80.926 us/op 1.64
effectiveBalanceIncrements clone Uint8Array 300000 92.313 us/op 28.516 us/op 3.24
effectiveBalanceIncrements clone MutableVector 300000 2.0220 us/op 351.00 ns/op 5.76
effectiveBalanceIncrements rw all Uint8Array 300000 257.70 us/op 176.24 us/op 1.46
effectiveBalanceIncrements rw all MutableVector 300000 286.82 ms/op 81.851 ms/op 3.50
phase0 afterProcessEpoch - 250000 vs - 7PWei 156.34 ms/op 111.61 ms/op 1.40
phase0 beforeProcessEpoch - 250000 vs - 7PWei 88.379 ms/op 54.891 ms/op 1.61
altair processEpoch - mainnet_e81889 657.42 ms/op 522.50 ms/op 1.26
mainnet_e81889 - altair beforeProcessEpoch 118.03 ms/op 81.278 ms/op 1.45
mainnet_e81889 - altair processJustificationAndFinalization 28.235 us/op 20.459 us/op 1.38
mainnet_e81889 - altair processInactivityUpdates 10.709 ms/op 5.3360 ms/op 2.01
mainnet_e81889 - altair processRewardsAndPenalties 95.015 ms/op 73.515 ms/op 1.29
mainnet_e81889 - altair processRegistryUpdates 4.0980 us/op 4.3880 us/op 0.93
mainnet_e81889 - altair processSlashings 1.3590 us/op 744.00 ns/op 1.83
mainnet_e81889 - altair processEth1DataReset 635.00 ns/op 943.00 ns/op 0.67
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3883 ms/op 2.3765 ms/op 0.58
mainnet_e81889 - altair processSlashingsReset 5.6740 us/op 6.3490 us/op 0.89
mainnet_e81889 - altair processRandaoMixesReset 9.7800 us/op 6.6950 us/op 1.46
mainnet_e81889 - altair processHistoricalRootsUpdate 1.0230 us/op 821.00 ns/op 1.25
mainnet_e81889 - altair processParticipationFlagUpdates 2.5680 us/op 2.0640 us/op 1.24
mainnet_e81889 - altair processSyncCommitteeUpdates 909.00 ns/op 942.00 ns/op 0.96
mainnet_e81889 - altair afterProcessEpoch 127.06 ms/op 120.15 ms/op 1.06
capella processEpoch - mainnet_e217614 2.3597 s/op 2.2823 s/op 1.03
mainnet_e217614 - capella beforeProcessEpoch 531.27 ms/op 447.96 ms/op 1.19
mainnet_e217614 - capella processJustificationAndFinalization 27.671 us/op 19.744 us/op 1.40
mainnet_e217614 - capella processInactivityUpdates 18.096 ms/op 20.978 ms/op 0.86
mainnet_e217614 - capella processRewardsAndPenalties 615.46 ms/op 568.16 ms/op 1.08
mainnet_e217614 - capella processRegistryUpdates 44.453 us/op 34.205 us/op 1.30
mainnet_e217614 - capella processSlashings 1.0850 us/op 904.00 ns/op 1.20
mainnet_e217614 - capella processEth1DataReset 742.00 ns/op 1.1130 us/op 0.67
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.5425 ms/op 3.9441 ms/op 1.15
mainnet_e217614 - capella processSlashingsReset 3.5520 us/op 3.9010 us/op 0.91
mainnet_e217614 - capella processRandaoMixesReset 9.4610 us/op 8.5360 us/op 1.11
mainnet_e217614 - capella processHistoricalRootsUpdate 1.2470 us/op 1.0490 us/op 1.19
mainnet_e217614 - capella processParticipationFlagUpdates 3.3680 us/op 3.7280 us/op 0.90
mainnet_e217614 - capella afterProcessEpoch 438.31 ms/op 327.76 ms/op 1.34
phase0 processEpoch - mainnet_e58758 600.29 ms/op 524.55 ms/op 1.14
mainnet_e58758 - phase0 beforeProcessEpoch 151.31 ms/op 133.36 ms/op 1.13
mainnet_e58758 - phase0 processJustificationAndFinalization 37.246 us/op 24.420 us/op 1.53
mainnet_e58758 - phase0 processRewardsAndPenalties 86.792 ms/op 81.781 ms/op 1.06
mainnet_e58758 - phase0 processRegistryUpdates 16.396 us/op 11.687 us/op 1.40
mainnet_e58758 - phase0 processSlashings 868.00 ns/op 626.00 ns/op 1.39
mainnet_e58758 - phase0 processEth1DataReset 819.00 ns/op 559.00 ns/op 1.47
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 4.3949 ms/op 1.5314 ms/op 2.87
mainnet_e58758 - phase0 processSlashingsReset 5.8990 us/op 3.6440 us/op 1.62
mainnet_e58758 - phase0 processRandaoMixesReset 9.5150 us/op 6.7930 us/op 1.40
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.2600 us/op 704.00 ns/op 1.79
mainnet_e58758 - phase0 processParticipationRecordUpdates 8.8610 us/op 6.3490 us/op 1.40
mainnet_e58758 - phase0 afterProcessEpoch 109.46 ms/op 103.45 ms/op 1.06
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4453 ms/op 1.2005 ms/op 1.20
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.6649 ms/op 1.3685 ms/op 1.22
altair processInactivityUpdates - 250000 normalcase 28.312 ms/op 27.394 ms/op 1.03
altair processInactivityUpdates - 250000 worstcase 29.099 ms/op 30.060 ms/op 0.97
phase0 processRegistryUpdates - 250000 normalcase 16.594 us/op 13.654 us/op 1.22
phase0 processRegistryUpdates - 250000 badcase_full_deposits 455.28 us/op 635.46 us/op 0.72
phase0 processRegistryUpdates - 250000 worstcase 0.5 182.01 ms/op 152.75 ms/op 1.19
altair processRewardsAndPenalties - 250000 normalcase 88.105 ms/op 89.272 ms/op 0.99
altair processRewardsAndPenalties - 250000 worstcase 79.899 ms/op 83.597 ms/op 0.96
phase0 getAttestationDeltas - 250000 normalcase 10.941 ms/op 8.0838 ms/op 1.35
phase0 getAttestationDeltas - 250000 worstcase 13.697 ms/op 8.0002 ms/op 1.71
phase0 processSlashings - 250000 worstcase 3.2058 ms/op 2.3320 ms/op 1.37
altair processSyncCommitteeUpdates - 250000 184.43 ms/op 150.88 ms/op 1.22
BeaconState.hashTreeRoot - No change 299.00 ns/op 258.00 ns/op 1.16
BeaconState.hashTreeRoot - 1 full validator 196.31 us/op 166.94 us/op 1.18
BeaconState.hashTreeRoot - 32 full validator 1.6780 ms/op 1.6287 ms/op 1.03
BeaconState.hashTreeRoot - 512 full validator 17.591 ms/op 17.214 ms/op 1.02
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 224.55 us/op 198.48 us/op 1.13
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 3.3703 ms/op 2.3406 ms/op 1.44
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 41.554 ms/op 35.306 ms/op 1.18
BeaconState.hashTreeRoot - 1 balances 191.03 us/op 170.80 us/op 1.12
BeaconState.hashTreeRoot - 32 balances 1.5065 ms/op 1.6229 ms/op 0.93
BeaconState.hashTreeRoot - 512 balances 13.126 ms/op 14.964 ms/op 0.88
BeaconState.hashTreeRoot - 250000 balances 230.26 ms/op 227.20 ms/op 1.01
aggregationBits - 2048 els - zipIndexesInBitList 27.834 us/op 16.274 us/op 1.71
byteArrayEquals 32 68.625 ns/op 50.409 ns/op 1.36
Buffer.compare 32 64.080 ns/op 56.151 ns/op 1.14
byteArrayEquals 1024 1.9120 us/op 1.4647 us/op 1.31
Buffer.compare 1024 81.134 ns/op 72.335 ns/op 1.12
byteArrayEquals 16384 29.982 us/op 23.306 us/op 1.29
Buffer.compare 16384 344.34 ns/op 272.73 ns/op 1.26
byteArrayEquals 123687377 201.47 ms/op 176.97 ms/op 1.14
Buffer.compare 123687377 9.3822 ms/op 6.0607 ms/op 1.55
byteArrayEquals 32 - diff last byte 56.786 ns/op 49.493 ns/op 1.15
Buffer.compare 32 - diff last byte 61.584 ns/op 62.239 ns/op 0.99
byteArrayEquals 1024 - diff last byte 1.5550 us/op 1.4811 us/op 1.05
Buffer.compare 1024 - diff last byte 74.777 ns/op 72.134 ns/op 1.04
byteArrayEquals 16384 - diff last byte 24.262 us/op 23.595 us/op 1.03
Buffer.compare 16384 - diff last byte 288.44 ns/op 247.62 ns/op 1.16
byteArrayEquals 123687377 - diff last byte 187.93 ms/op 182.26 ms/op 1.03
Buffer.compare 123687377 - diff last byte 7.5980 ms/op 7.4971 ms/op 1.01
byteArrayEquals 32 - random bytes 7.9700 ns/op 6.3240 ns/op 1.26
Buffer.compare 32 - random bytes 71.003 ns/op 64.871 ns/op 1.09
byteArrayEquals 1024 - random bytes 7.2300 ns/op 6.3200 ns/op 1.14
Buffer.compare 1024 - random bytes 71.354 ns/op 64.284 ns/op 1.11
byteArrayEquals 16384 - random bytes 7.7540 ns/op 6.1530 ns/op 1.26
Buffer.compare 16384 - random bytes 71.117 ns/op 61.665 ns/op 1.15
byteArrayEquals 123687377 - random bytes 11.950 ns/op 9.0400 ns/op 1.32
Buffer.compare 123687377 - random bytes 79.990 ns/op 65.930 ns/op 1.21
regular array get 100000 times 38.082 us/op 33.816 us/op 1.13
wrappedArray get 100000 times 38.051 us/op 33.601 us/op 1.13
arrayWithProxy get 100000 times 16.198 ms/op 16.170 ms/op 1.00
ssz.Root.equals 51.675 ns/op 52.017 ns/op 0.99
byteArrayEquals 50.423 ns/op 50.436 ns/op 1.00
Buffer.compare 11.078 ns/op 11.038 ns/op 1.00
shuffle list - 16384 els 7.2686 ms/op 7.0388 ms/op 1.03
shuffle list - 250000 els 106.57 ms/op 103.30 ms/op 1.03
processSlot - 1 slots 17.249 us/op 20.488 us/op 0.84
processSlot - 32 slots 2.8283 ms/op 3.9780 ms/op 0.71
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 59.733 ms/op 61.266 ms/op 0.97
getCommitteeAssignments - req 1 vs - 250000 vc 2.6691 ms/op 2.4876 ms/op 1.07
getCommitteeAssignments - req 100 vs - 250000 vc 3.9608 ms/op 3.6838 ms/op 1.08
getCommitteeAssignments - req 1000 vs - 250000 vc 4.4343 ms/op 4.0098 ms/op 1.11
findModifiedValidators - 10000 modified validators 614.54 ms/op 559.36 ms/op 1.10
findModifiedValidators - 1000 modified validators 498.30 ms/op 437.74 ms/op 1.14
findModifiedValidators - 100 modified validators 469.35 ms/op 401.00 ms/op 1.17
findModifiedValidators - 10 modified validators 476.82 ms/op 408.45 ms/op 1.17
findModifiedValidators - 1 modified validators 467.97 ms/op 401.34 ms/op 1.17
findModifiedValidators - no difference 430.60 ms/op 389.69 ms/op 1.10
compare ViewDUs 5.0130 s/op 4.9036 s/op 1.02
compare each validator Uint8Array 1.9315 s/op 1.9838 s/op 0.97
compare ViewDU to Uint8Array 1.3852 s/op 1.1152 s/op 1.24
migrate state 1000000 validators, 24 modified, 0 new 834.79 ms/op 865.57 ms/op 0.96
migrate state 1000000 validators, 1700 modified, 1000 new 1.1863 s/op 1.1869 s/op 1.00
migrate state 1000000 validators, 3400 modified, 2000 new 1.5195 s/op 1.4395 s/op 1.06
migrate state 1500000 validators, 24 modified, 0 new 901.09 ms/op 892.99 ms/op 1.01
migrate state 1500000 validators, 1700 modified, 1000 new 1.1880 s/op 1.1574 s/op 1.03
migrate state 1500000 validators, 3400 modified, 2000 new 1.4395 s/op 1.4923 s/op 0.96
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.1900 ns/op 4.1300 ns/op 1.26
state getBlockRootAtSlot - 250000 vs - 7PWei 730.30 ns/op 973.62 ns/op 0.75
computeProposers - vc 250000 9.9142 ms/op 10.233 ms/op 0.97
computeEpochShuffling - vc 250000 112.20 ms/op 106.83 ms/op 1.05
getNextSyncCommittee - vc 250000 187.66 ms/op 153.23 ms/op 1.22
computeSigningRoot for AttestationData 26.003 us/op 26.409 us/op 0.98
hash AttestationData serialized data then Buffer.toString(base64) 2.4598 us/op 2.3777 us/op 1.03
toHexString serialized data 1.5306 us/op 1.0784 us/op 1.42
Buffer.toString(base64) 259.91 ns/op 220.30 ns/op 1.18

by benchmarkbot/action

@nflaig nflaig merged commit 00160a9 into unstable Nov 9, 2023
15 checks passed
@nflaig nflaig deleted the nflaig/ref-attestation-summary-explainer branch November 9, 2023 11:41
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.13.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants